package entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class h_complain {
    private int ho_complain_id;//id
    private String ho_complain_name;//酒店名称
    private String ho_complain_star;//星级
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ho_complain_time;//投诉时间
    private int ho_complain_type;//投诉类型
    private int ho_complain_mode;//投诉方式
    private String ho_complain_pjone;//电话
    private String ho_complain_remark;//投诉备注

    public int getHo_complain_id() {
        return ho_complain_id;
    }

    public void setHo_complain_id(int ho_complain_id) {
        this.ho_complain_id = ho_complain_id;
    }

    public String getHo_complain_name() {
        return ho_complain_name;
    }

    public void setHo_complain_name(String ho_complain_name) {
        this.ho_complain_name = ho_complain_name;
    }

    public String getHo_complain_star() {
        return ho_complain_star;
    }

    public void setHo_complain_star(String ho_complain_star) {
        this.ho_complain_star = ho_complain_star;
    }

    public Date getHo_complain_time() {
        return ho_complain_time;
    }

    public void setHo_complain_time(Date ho_complain_time) {
        this.ho_complain_time = ho_complain_time;
    }

    public int getHo_complain_type() {
        return ho_complain_type;
    }

    public void setHo_complain_type(int ho_complain_type) {
        this.ho_complain_type = ho_complain_type;
    }

    public int getHo_complain_mode() {
        return ho_complain_mode;
    }

    public void setHo_complain_mode(int ho_complain_mode) {
        this.ho_complain_mode = ho_complain_mode;
    }

    public String getHo_complain_pjone() {
        return ho_complain_pjone;
    }

    public void setHo_complain_pjone(String ho_complain_pjone) {
        this.ho_complain_pjone = ho_complain_pjone;
    }

    public String getHo_complain_remark() {
        return ho_complain_remark;
    }

    public void setHo_complain_remark(String ho_complain_remark) {
        this.ho_complain_remark = ho_complain_remark;
    }

    @Override
    public String toString() {
        return "h_complain{" +
                "ho_complain_id=" + ho_complain_id +
                ", ho_complain_name='" + ho_complain_name + '\'' +
                ", ho_complain_star='" + ho_complain_star + '\'' +
                ", ho_complain_time=" + ho_complain_time +
                ", ho_complain_type=" + ho_complain_type +
                ", ho_complain_mode=" + ho_complain_mode +
                ", ho_complain_pjone='" + ho_complain_pjone + '\'' +
                ", ho_complain_remark='" + ho_complain_remark + '\'' +
                '}';
    }
}
